import request from '@/utils/request'

export function findByPage(query) {
    return request({
      url: '/complaintRecord/findByPage',
      method: 'get',
      params:query //表单数据
    })
  }
  export function updatComplaintRecord(data) {
    return request({
      url: '/complaintRecord/updatComplaintRecord',
      method: 'post',
      data
    })
  }
  export function createComplaintRecord(data) {
    return request({
      url: '/peopleComplaintRecord/createComplaintRecord',
      method: 'post',
      data
    })
  }
  